from tkinter import*
x = int(input())
y = int(input())
n = int(input())
xmax = x + 20 * n
ymax = y + 40 * n
if 0 <= xmax <= 500 and 0 <= ymax <= 500:
    
    window = Tk()
    window.geometry('500x500')
    canvas = Canvas(bg = 'white', width = 250, height = 250)
    canvas.pack(anchor = CENTER, expand = 1)
    canvas.create_polygon(x,y,x,y + 30 * n,x + 10 * n,y + 30 * n, x + 10 * n,y + 20 * n,x + 20 * n,y + 20 * n,x + 20 * n, y + 10 * n,x + 10 * n,y + 10 * n,x + 10 * n,y, fill = '#0b60ff', outline = '#000000')
else:
    print('Фигуры выходит за рамки допустимого размера.')
